function plot_param(fn_cell, legend_cell, fig_name)
n_f = length(fn_cell);
n = 100;
for i=1:n_f
    r{i} = importdata(fn_cell{i});
    if n > size(r{i},1), n = size(r{i},1); end
end

markers = {'-dr', '->b', '-<g', '-*k', '-sc', '-om', '-py'};

h = clf;

for i=1:n_f
    %size(r{i})
    semilogy(1:n, sum(r{i}(1:n,[5 7 9]), 2), markers{i}, 'LineWidth', 2); hold on   
end
ylabel('Number of parameters');
xlabel('order')

legend(legend_cell, 'Location', 'SouthEast')
title('Short D.melanogaster CDS (Length = 60)');

print(h, '-dpdf', fig_name); 
%'drosophila-60-parameter-prune-0.001.pdf';
print(h, '-depsc', [fig_name '.eps']);
end
